package org.hank.demoproject.animation.shakeview

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.TextView
import org.hank.demoproject.R
import org.hank.demoproject.utils.shake

class ShakeActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_shake)
        findViewById<TextView>(R.id.text_test_shack).apply {
            setOnClickListener {
                this.shake()
            }
        }
    }
}